package com.ys.entity.hr;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_TransparencyProgramItem", catalog="Id")
public class ThrTransparencyProgramItem extends BaseEntity<ThrTransparencyProgramItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="TransparencyProgramBid", nameJava="transparencyProgramBid", typeDataBase="varchar")
	private String transparencyProgramBid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="PtId", nameJava="ptId", typeDataBase="bigint")
	private Long ptId;
	@YsField(nameDataBase="BillingMonth", nameJava="billingMonth", typeDataBase="char")
	private String billingMonth;
	@YsField(nameDataBase="BillingAmount", nameJava="billingAmount", typeDataBase="decimal")
	private BigDecimal billingAmount;
	@YsField(nameDataBase="PlatformCode", nameJava="platformCode", typeDataBase="varchar")
	private String platformCode;
	@YsField(nameDataBase="PlatformBid", nameJava="platformBid", typeDataBase="varchar")
	private String platformBid;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="AnnexFile", nameJava="annexFile", typeDataBase="varchar")
	private String annexFile;
	@YsField(nameDataBase="StatePay", nameJava="statePay", typeDataBase="tinyint")
	private Integer statePay;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrTransparencyProgramItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getTransparencyProgramBid() {
		return transparencyProgramBid;
	}
	public ThrTransparencyProgramItem setTransparencyProgramBid(String transparencyProgramBid) {
		this.transparencyProgramBid = transparencyProgramBid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public ThrTransparencyProgramItem setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public Long getPtId() {
		return ptId;
	}
	public ThrTransparencyProgramItem setPtId(Long ptId) {
		this.ptId = ptId;
		return this;
	}
	public String getBillingMonth() {
		return billingMonth;
	}
	public ThrTransparencyProgramItem setBillingMonth(String billingMonth) {
		this.billingMonth = billingMonth;
		return this;
	}
	public BigDecimal getBillingAmount() {
		return billingAmount;
	}
	public ThrTransparencyProgramItem setBillingAmount(BigDecimal billingAmount) {
		this.billingAmount = billingAmount;
		return this;
	}
	public String getPlatformCode() {
		return platformCode;
	}
	public ThrTransparencyProgramItem setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
		return this;
	}
	public String getPlatformBid() {
		return platformBid;
	}
	public ThrTransparencyProgramItem setPlatformBid(String platformBid) {
		this.platformBid = platformBid;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public ThrTransparencyProgramItem setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getAnnexFile() {
		return annexFile;
	}
	public ThrTransparencyProgramItem setAnnexFile(String annexFile) {
		this.annexFile = annexFile;
		return this;
	}
	public Integer getStatePay() {
		return statePay;
	}
	public ThrTransparencyProgramItem setStatePay(Integer statePay) {
		this.statePay = statePay;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrTransparencyProgramItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrTransparencyProgramItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrTransparencyProgramItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrTransparencyProgramItem thrTransparencyProgramItem(
		String transparencyProgramBid,
		String vgsbm,
		Long ptId,
		String billingMonth,
		BigDecimal billingAmount,
		String platformCode,
		String platformBid,
		String vbz,
		String annexFile,
		Integer statePay,
		Integer status
			) {
		ThrTransparencyProgramItem entity = new ThrTransparencyProgramItem();
		entity.setTransparencyProgramBid(transparencyProgramBid);
		entity.setVgsbm(vgsbm);
		entity.setPtId(ptId);
		entity.setBillingMonth(billingMonth);
		entity.setBillingAmount(billingAmount);
		entity.setPlatformCode(platformCode);
		entity.setPlatformBid(platformBid);
		entity.setVbz(vbz);
		entity.setAnnexFile(annexFile);
		entity.setStatePay(statePay);
		entity.setStatus(status);
		return entity;
	}
}